# -*- utf-8 -*-
# author : li shi jie
# Email : yr785339493@qq.com

x = [1.1, 1.2, 1.3, 1.4, 1.5]
y = [2.1, 2.2, 2.3, 2.4, 2.5]
c = [True, False, True, False, True]

result = [(x if c else y) for x, y, c in zip(x, y, c)]
print(result)

for x, y, c in zip(x, y, c):
    print(x, y, c)